package cn.admin.configcenter.configservice.domain;

public class PageableContextResult<T> {

	private int code;
	private boolean success = false;
	private String message;
	private Page<T> data;

	@Override
	public String toString() {
		return "PageableContextResult{" +
				"code=" + code +
				", success=" + success +
				", message='" + message + '\'' +
				", data=" + data +
				'}';
	}

	public int getCode() {
		return code;
	}

	public void setCode(int code) {
		this.code = code;
	}

	public boolean isSuccess() {
		return success;
	}

	public void setSuccess(boolean success) {
		this.success = success;
	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

	public Page<T> getData() {
		return data;
	}

	public void setData(Page<T> data) {
		this.data = data;
	}
}
